<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="id" name="id" th:value="${consultant.id}" type="hidden">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">姓名：</label>
                            <div class="input-group col-sm-8">
                                <input id="name" name="name" th:value="${consultant.name}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">性别：</label>
                            <div class="input-group col-sm-8">
                                <label class="radio-inline">
                                    <input type="radio" name="gender" checked="checked" value="1" th:field="*{consultant.gender}"/> 男
                                </label>
                                <label class="radio-inline">
                                    <input type="radio" name="gender" value="2" th:field="*{consultant.gender}"/> 女
                                </label>
                                <label class="radio-inline">
                                    <input type="radio" name="gender" value="3" th:field="*{consultant.gender}"/> 其他
                                </label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">母亲电话：</label>
                            <div class="input-group col-sm-8">
                                <input id="motherMobile" name="motherMobile" th:value="${consultant.motherMobile}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">父亲电话：</label>
                            <div class="input-group col-sm-8">
                                <input id="fatherMobile" name="fatherMobile" th:value="${consultant.fatherMobile}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">其他电话：</label>
                            <div class="input-group col-sm-8">
                                <input id="otherMobile" name="otherMobile" th:value="${consultant.otherMobile}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">qq：</label>
                            <div class="input-group col-sm-8">
                                <input id="qq" name="qq" th:value="${consultant.qq}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">微信：</label>
                            <div class="input-group col-sm-8">
                                <input id="wechat" name="wechat" th:value="${consultant.wechat}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">生日：</label>
                            <div class="input-group col-sm-8">
                                <div id="birthday" class="input-group date">
                                    <input  name="birthday" readonly="readonly" class="form-control" type="text" th:value="${consultant.birthday}">
                                    <span class="input-group-addon"><span class="glyphicon glyphicon-remove"></span></span>
                                    <span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">学校名称：</label>
                            <div class="input-group col-sm-8">
                                <input id="schoolName" name="schoolName" th:value="${consultant.schoolName}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">年纪：</label>
                            <div class="input-group col-sm-8">
                                <select name="grade" class="selectpicker" data-live-search="true"
                                        data-live-search-placeholder="搜索" data-actions-box="true" >
                                    <span th:each="gradeDic,iterStat:${gradeDicList}">
                                        <option th:value="${gradeDic.value}" th:text="${gradeDic.title}" th:field="*{consultant.grade}" ></option>
                                    </span>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">家长姓名：</label>
                            <div class="input-group col-sm-8">
                                <input id="parentName" name="parentName" th:value="${consultant.parentName}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">民族：</label>
                            <div class="input-group col-sm-8">
                                <select name="nation" class="selectpicker" data-live-search="true"
                                        data-live-search-placeholder="搜索" data-actions-box="true" >
                                    <span th:each="nationDic,iterStat:${nationDicList}">
                                        <option th:value="${nationDic.value}" th:text="${nationDic.title}" th:field="*{consultant.nation}" ></option>
                                    </span>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">身份证：</label>
                            <div class="input-group col-sm-8">
                                <input id="certificateNum" name="certificateNum" th:value="${consultant.certificateNum}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">居住区域：</label>
                            <div class="input-group col-sm-8">
                                <input id="address" name="address" th:value="${consultant.address}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">其他信息：</label>
                            <div class="input-group col-sm-8">
                                <input id="otherInfo" name="otherInfo" th:value="${consultant.otherInfo}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">咨询方式：</label>
                            <div class="input-group col-sm-8">
                                <select name="contactMethod" class="selectpicker" data-live-search="true"
                                        data-live-search-placeholder="搜索" data-actions-box="true" >
                                    <span th:each="contactMethodDic,iterStat:${contactMethodDicList}">
                                        <option th:value="${contactMethodDic.value}" th:text="${contactMethodDic.title}" th:field="*{consultant.contactMethod}"></option>
                                    </span>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">意向度：</label>
                            <div class="input-group col-sm-8">
                                <select name="intentionLevel" class="selectpicker" data-live-search="true"
                                        data-live-search-placeholder="搜索" data-actions-box="true" >
                                    <span th:each="intentionLevelDic,iterStat:${intentionLevelDicList}">
                                        <option th:value="${intentionLevelDic.value}" th:text="${intentionLevelDic.title}"  th:field="*{consultant.intentionLevel}"></option>
                                    </span>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">跟进状态：</label>
                            <div class="input-group col-sm-8">
                                <select name="followStep" class="selectpicker" data-live-search="true"
                                        data-live-search-placeholder="搜索" data-actions-box="true" >
                                    <span th:each="followStepDic,iterStat:${followStepDicList}">
                                        <option th:value="${followStepDic.value}" th:text="${followStepDic.title}" th:field="*{consultant.followStep}"></option>
                                    </span>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">关键字：</label>
                            <div class="input-group col-sm-8">
                                <input id="keyword" name="keyword" th:value="${consultant.keyword}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">聊天内容：</label>
                            <area class="input-group col-sm-8">
                                <area id="chatContent" name="chatContent" th:text="${consultant.chatContent}"
                                      class="form-control" ></area>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">回访时间提醒：</label>
                            <div class="input-group col-sm-8">
                                <div id="revisitTimeTip" class="input-group date">
                                    <input  name="revisitTimeTip" readonly="readonly" class="form-control" type="text" th:value="${consultant.revisitTimeTip}">
                                    <span class="input-group-addon"><span class="glyphicon glyphicon-remove"></span></span>
                                    <span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">咨询校区：</label>
                            <div class="input-group col-sm-8">
                                <select name="consultantSchool" class="selectpicker" data-live-search="true"
                                        data-live-search-placeholder="搜索" data-actions-box="true" >
                                    <span th:each="consultantSchoolDic,iterStat:${consultantSchoolDicList}">
                                        <option th:value="${consultantSchoolDic.value}" th:text="${consultantSchoolDic.title}" th:field="*{consultant.consultantSchool}"></option>
                                    </span>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">渠道：</label>
                            <div class="input-group col-sm-8">
                                <select name="channelId" class="selectpicker" data-live-search="true"
                                        data-live-search-placeholder="搜索" data-actions-box="true" >
                                    <span th:each="channelIdDic,iterStat:${channelIdDicList}">
                                        <option th:value="${channelIdDic.value}" th:text="${channelIdDic.title}" th:field="*{consultant.channelId}"></option>
                                    </span>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">录入时间：</label>
                            <div class="input-group col-sm-8">
                                <div id="recordTime" class="input-group date">
                                    <input  name="recordTime" readonly="readonly" class="form-control" type="text" th:value="${consultant.recordTime}">
                                    <span class="input-group-addon"><span class="glyphicon glyphicon-remove"></span></span>
                                    <span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">录入人id：</label>
                            <div class="input-group col-sm-8">
                                <select name="recordId" class="selectpicker" data-live-search="true"
                                        data-live-search-placeholder="搜索" data-actions-box="true" >
                                    <span th:each="recordIdDic,iterStat:${recordIdDicList}">
                                        <option th:value="${recordIdDic.value}" th:text="${recordIdDic.title}" th:field="*{consultant.recordId}"></option>
                                    </span>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="input-group  col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/sys/consultant/edit.js">
</script>
</body>
</html>
